package com.aegis.common.exception;

import cn.hutool.http.HttpStatus;
import com.aegis.common.web.IResponseEnum;

/**
 * @Author renogo
 * 
 * @Version 1.0
 * @Descritube
 */
public class AuthorizationException extends BaseException {

    public AuthorizationException(IResponseEnum errorInterface) {
        super(errorInterface, null, HttpStatus.HTTP_UNAUTHORIZED);
    }

    public AuthorizationException(IResponseEnum errorInterface, String message) {
        super(errorInterface, message, HttpStatus.HTTP_UNAUTHORIZED);
    }
}
